package com.hrt.manage.product.dao;

import java.util.List;

import com.hrt.base.BaseDao;
import com.hrt.bean.GiftDetail;
import com.hrt.bean.GiftGroup;

public interface GiftGroupDao extends BaseDao<GiftGroup> {
	/**分页查询的重写*/
	@SuppressWarnings("rawtypes")
	public List<GiftGroup> queryPageByCondition(List conditions, int pageIndex, int pageSize) ;
	
	/**上下架的查询*/
	public List<GiftGroup> findIspush(GiftDetail giftDetail);
	
	/**根据礼品规格的ID找到产品组合的列表*/
	public List<GiftGroup> queryGiftGroupByGdId(Long gdId);
	
	/**根据礼品规格的id找到礼品组合的id集合*/
	public List<GiftGroup> getGroupIdforId(Long id);
}
